package com.hspedu.spring.bean;

/**
 * @author Charlie
 * @version 1.0
 * @date 2/11/2025 下午9:22
 */
public class Cat {
    private Integer id;
    private String name ;

    public Cat() {
        System.out.println("cat 构造器执行了");
    }

  /*  @Override
    public String toString() {
        return "Cat{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }*/

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
